package jp.ac.aiit.spg.dao;

import java.util.List;
import jp.ac.aiit.spg.entity.*;

public interface SpgUserDao {

	// Basic Operations 
	SpgUser find(Integer id);
	SpgUser getReference(Integer id);
	void persist(SpgUser su);
	void remove(SpgUser su);
	SpgUser merge(SpgUser su);
	void refresh(SpgUser su);
	void readLock(SpgUser su);
	void writeLock(SpgUser su);
	
	// Additional Operations
	List<SpgUser> findAll();
	List<SpgUser> findAll(String orderBy);
	SpgUser findByName(String name);
	
	
}
